#define ROW 3
#define COL 3
#include <stdio.h>
#include <stdlib.h>
#include <time.h>

//声明
void InitBoard(char board[ROW][COL], int row, int col);
void DisplayBoard(char board[ROW][COL], int row, int col);
void PlayerMove(char board[ROW][COL], int row, int col);
void ComputerMove(char board[ROW][COL], int row, int col);

//告诉我们游戏的四种状态
//1.玩家获胜   '*'
//2.电脑获胜   '#'
//3.平局       'Q'
//4.游戏继续   'C'
char IsWin(char board[ROW][COL], int row, int col);